<template>
<div class="headMenu">
    <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item v-for="(item, index) in $route.meta" :key="index">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
</div>

</template>

<script>
export default {

}
</script>

<style lang="stylus">
.headMenu
    display flex
    height 40px
    .el-breadcrumb
        text-align left
        padding-left: 10px;
        line-height 40px 
</style>